package com.imooc.utils;

import java.util.Random;

/**
 * @program: sell
 * @description: key util
 * @author: LT
 * @create: 2020-07-19 22:12
 **/
public class KeyUtil {
    public static synchronized String genUniqueKey(){
        Random random = new Random();
        Integer number = random.nextInt(900000) + 100000;

        return System.currentTimeMillis() + String.valueOf(number);
    }
}